package com.lnking.lnkingplace.model.dto.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lnking.lnkingplace.Util.DataDesensitizedUtils;
import com.lnking.starter.export.annotation.TableColumn;
import com.lnking.starter.export.annotation.TableInfo;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author 联坤
 */
@Data
@TableInfo(tableName = "人员信息导出")
public class UserExportDto {

    @TableColumn(columnName = "街道",column = "0")
    private String street;

    @TableColumn(columnName = "场所",column = "1")
    private String placeName;

    @TableColumn(columnName = "店铺招牌",column = "2")
    private String shopSign;

    @TableColumn(columnName = "场所类型",column = "3")
    private String placeType;

    @TableColumn(columnName = "社会统一信用代码",column = "4")
    private String businessLicenseNo;

    @TableColumn(columnName = "场所地址",column = "5")
    private String placeAddress;

    @TableColumn(columnName = "姓名",column = "6")
    private String name;

    @TableColumn(columnName = "电话",column = "7")
    private String desensitizationPhone;

    @TableColumn(columnName = "身份证号码",column = "8")
    private String desensitizationIdCard;

    @TableColumn(columnName = "类型",column = "9")
    private String type;

    @TableColumn(columnName = "性别",column = "10")
    private String sex;

    @TableColumn(columnName = "籍贯",column = "11")
    private String nativePlace;

    @TableColumn(columnName = "现居地址",column = "12")
    private String address;

    @TableColumn(columnName = "入职时间",column = "13")
    private LocalDate entryTime;

    @TableColumn(columnName = "学历",column = "14")
    private String education;

    @TableColumn(columnName = "最新核酸报告出具时间(数据采集)",column = "15")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime lastRecordTime;

    @TableColumn(columnName = "最新核酸采样时间(数据采集)",column = "16")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime checkTime;

    @TableColumn(columnName = "最新核酸采样时间(人工填报)",column = "17")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime lastCheckTimeByManual;
    @TableColumn(columnName = "最新核酸报告出具时间(人工填报)",column = "18")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime lastRecordTimeByManual;

    @TableColumn(columnName = "今日是否核酸",column = "19")
    private String lastCheckStatus;

    @TableColumn(columnName = "检测配置（N小时一检）",column = "20")
    private Integer configDay;

    @TableColumn(columnName = "核酸检测情况",column = "21")
    private String checkConfig;

}
